package com.ming.demo.mapper;

import com.ming.demo.bean.WeChat;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface WeChatMapper {

    @Insert("insert into we_chat(session_key,expires_in,openid ) values(#{weiChat.session_key}, #{weiChat.expires_in}, #{weiChat.openid})")
    public int insertWeChat(@Param("weiChat")WeChat weChat);
}
